package com.devilvan.betrice.qzone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.devilvan.betrice.qzone.entity.FindAllDownloadEntity;
import com.devilvan.betrice.qzone.po.QzoneAlbumHeaderPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Evad.Wu
 * @Description QQ空间 用户相册 持久层
 * @date 2022-09-11
 */
@Mapper
public interface QzoneAlbumHeaderMapper extends BaseMapper<QzoneAlbumHeaderPo> {
    /**
     * 查询资源下载的必要信息
     *
     * @param ownerUin QQ号
     * @param page 分页信息
     * @return 结果集
     */
    List<FindAllDownloadEntity> findAllDownloadEntity(@Param("ownerUin") String ownerUin, Page<QzoneAlbumHeaderPo> page);
}
